added rc-style argument GtkSpinButton::shadow_type. removed
authorTim Janik <timj@gtk.org>
Sun, 18 Mar 2001 04:50:34 +0000 (04:50 +0000)
committerTim Janik <timj@src.gnome.org>
Sun, 18 Mar 2001 04:50:34 +0000 (04:50 +0000)
commitac68581f9655392ab4b41ac5d6b0b76c0adf532f
tree3a8c1043c94817b941e70dfce7fefb309b0cf517
parent882bb853891b30c98c58d384d311fa24fbd1b326
added rc-style argument GtkSpinButton::shadow_type. removed

Sun Mar 18 01:15:30 2001  Tim Janik  <timj@gtk.org>

        * gtk/gtkspinbutton.[hc]: added rc-style argument
        GtkSpinButton::shadow_type.
        removed spin_button->shadow_type, gtk_spin_button_set_shadow_type()
        and ARG_SHADOW_TYPE as it doesn' make much sense to try to override
        rc-style settings.

        * gtk/gtkfixed.c: removed gtk_fixed_paint() (was unused).

        * gtk/gtkwidget.c: quark cleanups.

        * gtk/gtkrc.[hc]: added gtk_rc_scanner_new() to create an rc-file
        scanner with appropriate configuration, renamed GtkRcStyleClass.clone
        to create_rc_style() (we don't do cloning in standard OO sense).
        added per rc style properties.

        * gtk/gtkstyle.[hc]: added code to retrive pspec conformant rc-style
        property values and for caching those. some cleanups.

        * gtk/Makefile.am: -DG_DISABLE_CONST_RETURNS.

        * gtk/gtksettings.[hc]: new file for global rc-file properties
        (at least currently, should get extended to support X properties
        and other communication mechanisms).

        * gtk/gtkwidget.[hc]: added style property support:
        (gtk_widget_class_install_style_property_parser): install style
        property pspec with parser function for rc-file values other
        than LONG, DOUBLE or STRING.
        (gtk_widget_class_install_style_property): same as above without
        parser (parsers are going to be needed quite infrequently).
        (gtk_widget_style_get_property): retrive style property value.
        (gtk_widget_style_get_valist): same as above with varargs support,
        has NOCOPY semantics.
        (gtk_widget_style_get): wrapper around gtk_widget_style_get_valist().
33 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
docs/reference/gdk-pixbuf/gdk-pixbuf.hierarchy
docs/reference/gtk/gtk.hierarchy
docs/reference/gtk/tmpl/gtk-unused.sgml
docs/reference/gtk/tmpl/gtksignal.sgml
docs/reference/gtk/tmpl/gtkspinbutton.sgml
docs/reference/gtk/tmpl/gtktextview.sgml
docs/reference/gtk/tmpl/gtktreeviewcolumn.sgml
docs/reference/gtk/tmpl/gtktypeutils.sgml
gtk/Makefile.am
gtk/gtk.h
gtk/gtkcombo.c
gtk/gtkfixed.c
gtk/gtkrc.c
gtk/gtkrc.h
gtk/gtksettings.c [new file with mode: 0644]
gtk/gtksettings.h [new file with mode: 0644]
gtk/gtkspinbutton.c
gtk/gtkspinbutton.h
gtk/gtkstyle.c
gtk/gtkstyle.h
gtk/gtktypeutils.c
gtk/gtkwidget.c
gtk/gtkwidget.h
gtk/gtkwindow.c
gtk/testgtkrc
tests/testgtkrc